package com.csun.cmny.provider.model.dto.propertyManagement;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ProperManagementSelectDto extends BaseQuery {

    /**
     * 设备编号
     */
    private String deviceNo;

    /*设备类型（0-随访仪 1-手环 2-睡眠卫士 3-警报器 4-网关 5-紧急按钮 6-人体感应 7-门禁设备 8-门禁卡 9-自研床垫） 10-护工手表 11-报警灯  12-智能摄像头 13-床头屏\r\n14-门禁控制卡  15-温湿度传感器  16-日创人感 17-日创门磁*/
    private Integer deviceType;

    /*批次*/
    private String batch;

    /*客户编号*/
    private String customerNo;

    /*出厂日期起*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String productionDateStart;

    /*出厂日期止*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String productionDateEnd;

    /*出货日期起*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private String shipmentDateStart;

    /*出货日期止*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String shipmentDateEnd;


    /*初始化日期起*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String initializeDateStart;

    /*初始化日期止*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String initializeDateEnd;


}
